home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / il / ilVkFileInfo.z / ilVkFileInfo
Encoding:
Text File  |  2002-10-03  |  4.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4. iiiillllVVVVkkkkFFFFiiiilllleeeeIIIInnnnffffoooo((((3333))))    IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll    iiiillllVVVVkkkkFFFFiiiilllleeeeIIIInnnnffffoooo((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      iiiillllVVVVkkkkFFFFiiiilllleeeeIIIInnnnffffoooo - displays information about an image file
  10.  
  11. IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
  12.      ilVkComponent
  13.  
  14. HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
  15.      #include <il/ilVkFileInfo.h>
  16.  
  17. CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      This component displays information about the image file that contains
  19.      the current image. File _n_a_m_e, _f_o_r_m_a_t and _s_i_z_e are displayed.  The current
  20.      image is specified with setImage() inherited from ilVkComponent. The
  21.      current image is expected to be an iiiillllFFFFiiiilllleeeeIIIImmmmgggg. See iiiillllVVVVkkkkCCCCoooommmmppppoooonnnneeeennnntttt for more
  22.      information.
  23.  
  24. CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
  25.      CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
  26.  
  27.            ilVkFileInfo(const char *, Widget)
  28.            ilVkFileInfo(const char *)
  29.  
  30.      IIIInnnniiiittttiiiiaaaalllliiiizzzzaaaattttiiiioooonnnn mmmmeeeetttthhhhooooddddssss
  31.  
  32.           void create(Widget)
  33.  
  34.      GGGGeeeetttt////sssseeeetttt iiiinnnnppppuuuutttt mmmmeeeetttthhhhooooddddssss
  35.  
  36.           const char *   className()
  37.           virtual void  ilUpdateWidget()    _p_r_o_t_e_c_t_e_d
  38.  
  39.  
  40. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
  41.      iiiillllVVVVkkkkFFFFiiiilllleeeeIIIInnnnffffoooo(((())))
  42.  
  43.            ilVkFileInfo(const char *name)
  44.            ilVkFileInfo(const char *name, Widget parent)
  45.  
  46.  
  47.           Both versions of the constructor take the _n_a_m_e of the object and
  48.           assign it to the base widget of the component (see VkComponent).
  49.           The second version of the constructor takes a pointer to the _p_a_r_e_n_t
  50.           widget and creates the component as a child (by calling ccccrrrreeeeaaaatttteeee(((()))).
  51.  
  52.      ccccllllaaaassssssssNNNNaaaammmmeeee(((())))
  53.  
  54.           const char *   className()
  55.  
  56.  
  57.           Returns the class name of the component.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. iiiillllVVVVkkkkFFFFiiiilllleeeeIIIInnnnffffoooo((((3333))))    IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll    iiiillllVVVVkkkkFFFFiiiilllleeeeIIIInnnnffffoooo((((3333))))
  71.  
  72.  
  73.  
  74.      ccccrrrreeeeaaaatttteeee(((())))
  75.  
  76.           void create(Widget parent)
  77.  
  78.  
  79.           Creates the component as a child of _p_a_r_e_n_t.
  80.  
  81.      iiiillllUUUUppppddddaaaatttteeeeWWWWiiiiddddggggeeeetttt(((())))
  82.  
  83.           virtual void  ilUpdateWidget()    _p_r_o_t_e_c_t_e_d
  84.  
  85.  
  86.           This virtual function is called by the sssseeeettttIIIImmmmaaaaggggeeee() method (inherited
  87.           from iiiillllVVVVkkkkCCCCoooommmmppppoooonnnneeeennnntttt) and causes the component to update its GUI
  88.           elements.  Methods on iiiillllFFFFiiiilllleeeeIIIImmmmgggg are called to query the file name
  89.           and file format.  In addition, the size of the file is determined.
  90.           This information is displayed by the component.
  91.  
  92. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  93.      ilVkComponent, VkComponent, ilFileImg
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.